﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace WcfService4
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IService1
    {
        [WebGet(UriTemplate = "/getNovelsName", ResponseFormat = WebMessageFormat.Xml)]
        [OperationContract]
        string getNovelsName();

        [WebGet(UriTemplate = "/getDiasSemana", ResponseFormat = WebMessageFormat.Xml)]
        [OperationContract]
        string getDiasSemana();

        [WebGet(UriTemplate = "/takeNovelResume/{nomeNovela}/{Data}", ResponseFormat = WebMessageFormat.Xml)]
        [OperationContract]
        string takeNovelResume(string nomeNovela, string Data);


    }




}
